﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools.Core.Entities;

namespace Tools.Services.Interfaces
{
    public interface IMailSenderService
    {
        Task CreateSenderAsync(MailSender sender);
        Task DeleteSenderAsync(int id);
        Task<MailSender> GetSenderAsync(int id);
        Task<IEnumerable<MailSender>> GetAllSendersAsync();
        Task UpdateSenderAsync(MailSender sender);
    }
}
